const Router = require("koa-router");
const HttpExceptionError = require("../../middlewares/http-exception");

let router = new Router();

router.get("/404", async (ctx) => {
  let title = "404";;
  await ctx.render("index", {
    //别忘了加 await
    title: title,
  });
});

module.exports = router;
